.class public Les/fj;
.super Ljava/lang/Object;
.source "PopupHelper.java"


# instance fields
.field private a:Les/ej;


# direct methods
.method private constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;I)Les/fj;
    .locals 2
    .param p1    # I
        .annotation build Landroidx/annotation/LayoutRes;
        .end annotation
    .end param

    .line 1
    new-instance v0, Les/fj;

    invoke-direct {v0}, Les/fj;-><init>()V

    .line 2
    new-instance v1, Les/ej;

    invoke-direct {v1, p0}, Les/ej;-><init>(Landroid/content/Context;)V

    iput-object v1, v0, Les/fj;->a:Les/ej;

    .line 3
    invoke-virtual {v1, p1}, Les/ej;->a(I)V

    return-object v0
.end method


# virtual methods
.method public final a(I)Landroid/view/View;
    .locals 1
    .param p1    # I
        .annotation build Landroidx/annotation/IdRes;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Landroid/view/View;",
            ">(I)TT;"
        }
    .end annotation

    .line 4
    iget-object v0, p0, Les/fj;->a:Les/ej;

    invoke-virtual {v0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method public a()V
    .locals 1

    .line 5
    iget-object v0, p0, Les/fj;->a:Les/ej;

    if-eqz v0, :cond_0

    .line 6
    invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V

    :cond_0
    return-void
.end method

.method public b(I)V
    .locals 1

    .line 1
    iget-object v0, p0, Les/fj;->a:Les/ej;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Les/ej;->b(I)V

    .line 3
    iget-object p1, p0, Les/fj;->a:Les/ej;

    invoke-virtual {p1}, Landroid/app/Dialog;->show()V

    :cond_0
    return-void
.end method
